<?php

namespace app\models\user\gr;

use Yii;

/**
 * This is the model class for table "{{%user_otherinfo_gr}}".
 *
 * @property int $id
 * @property int $uid
 * @property int|null $time
 * @property string|null $jiaoyubeijingArray 教育背景数组
 * @property string|null $gongzuojingliArray 工作经历
 * @property string|null $jiatingchengyuanArray 家庭成员
 * @property string|null $qiuzhiyixiangArrayGS 求职类型.  选择公司类型,需要填写本项
 * @property string|null $qiuzhiyixiangArrayGC 求职类型,工厂;选择工厂类型,需要填写本项,数组记录 
 * @property string|null $gerennengli 个人能力
 * @property string|null $shanchangjineng 擅长技能
 * @property string|null $aihaotechang 爱好特长
 */
class UserOtherinfoGr extends \app\models\BaseUserModel
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return '{{%user_otherinfo_gr}}';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['uid'], 'required'],
            [['uid', 'time'], 'integer'],
            [['jiaoyubeijingArray', 'gongzuojingliArray', 'jiatingchengyuanArray', 'qiuzhiyixiangArrayGS'], 'string'],
            [['qiuzhiyixiangArrayGC'], 'string', 'max' => 255],
            [['gerennengli', 'shanchangjineng', 'aihaotechang'], 'string', 'max' => 500],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'uid' => 'Uid',
            'time' => 'Time',
            'jiaoyubeijingArray' => '教育背景数组',
            'gongzuojingliArray' => '工作经历',
            'jiatingchengyuanArray' => '家庭成员',
            'qiuzhiyixiangArrayGS' => '求职类型公司',
            'qiuzhiyixiangArrayGC' => '求职类型工厂',
            'gerennengli' => '个人能力',
            'shanchangjineng' => '擅长技能',
            'aihaotechang' => '爱好特长',
        ];
    }
}
